/*
 * 
 * LegendShop 多用户商城系统
 * 
 *  版权所有,并保留所有权利。
 * 
 */
package com.legendshop.oa.service;

import java.util.List;

import com.legendshop.dao.support.CriteriaQuery;
import com.legendshop.dao.support.PageSupport;
import com.legendshop.oa.model.Department;

/**
 * 部门服务.
 */
public interface DepartmentService  {

    public List<Department> getDepartment(String userName);

    public Department getDepartment(Long id);
    
    public void deleteDepartment(Department department);
    
    public Long saveDepartment(Department department);

    public void updateDepartment(Department department);

    public PageSupport getDepartment(CriteriaQuery cq);

	public List<Department> getAllDepartment();

	public String getDepartmentName(Long deptId);

}
